package com.dhn.entity;

public class Sys_users {
    private Integer id;
    private Integer department_id;
    private Integer user_type;
    private String head_url;
    private String account;
    private String user_name;
    private String password;
    private String salt;
    private String created_time;
    private String updated_time;
    private Integer created_user_id;
    private Department department;
    private Integer page=0;
    private Integer limit=5;

    @Override
    public String toString() {
        return "Sys_users{" +
                "id=" + id +
                ", department_id=" + department_id +
                ", user_type=" + user_type +
                ", head_url='" + head_url + '\'' +
                ", account='" + account + '\'' +
                ", user_name='" + user_name + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", created_time='" + created_time + '\'' +
                ", updated_time='" + updated_time + '\'' +
                ", created_user_id=" + created_user_id +
                ", department=" + department +
                ", page=" + page +
                ", limit=" + limit +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDepartment_id() {
        return department_id;
    }

    public void setDepartment_id(Integer department_id) {
        this.department_id = department_id;
    }

    public Integer getUser_type() {
        return user_type;
    }

    public void setUser_type(Integer user_type) {
        this.user_type = user_type;
    }

    public String getHead_url() {
        return head_url;
    }

    public void setHead_url(String head_url) {
        this.head_url = head_url;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getUser_name() {
        return user_name;
    }

    public void setUser_name(String user_name) {
        this.user_name = user_name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt;
    }

    public String getCreated_time() {
        return created_time;
    }

    public void setCreated_time(String created_time) {
        this.created_time = created_time;
    }

    public String getUpdated_time() {
        return updated_time;
    }

    public void setUpdated_time(String updated_time) {
        this.updated_time = updated_time;
    }

    public Integer getCreated_user_id() {
        return created_user_id;
    }

    public void setCreated_user_id(Integer created_user_id) {
        this.created_user_id = created_user_id;
    }

    public Department getDepartment() {
        return department;
    }

    public void setDepartment(Department department) {
        this.department = department;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    public Sys_users() {
    }

    public Sys_users(Integer id, Integer department_id, Integer user_type, String head_url, String account, String user_name, String password, String salt, String created_time, String updated_time, Integer created_user_id, Department department, Integer page, Integer limit) {
        this.id = id;
        this.department_id = department_id;
        this.user_type = user_type;
        this.head_url = head_url;
        this.account = account;
        this.user_name = user_name;
        this.password = password;
        this.salt = salt;
        this.created_time = created_time;
        this.updated_time = updated_time;
        this.created_user_id = created_user_id;
        this.department = department;
        this.page = page;
        this.limit = limit;
    }
}
